/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package advanced_class_design.use_enumerated_types;

/**
 *
 * @author arifnasution
 */
public class SampleEnum1
{
    public enum MathOperation {
        plus, minus, divide, times
    }
    
    public static void main(String args[]) {
        MathOperation mathOperation = MathOperation.plus;
        System.out.println( "math operation is " + mathOperation.name());
    }
}
